using System.Web.UI;
using System.Web.UI.WebControls;


[assembly: TagPrefix("QuickDev.ServerControls", "QuickDev")]
namespace QuickDev.ServerControls
{

    [ToolboxData( "<{0}:CheckBox ID=\"CheckBoxId\" runat=\"server\" />" )]
    public class DataGrid : System.Web.UI.WebControls.DataGrid
    {

        protected override void OnItemDataBound( DataGridItemEventArgs e )
        {
            if ( e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem )
            {
                e.Item.Attributes.Add( "onmouseover" , "this.className = \"over\";" );
                e.Item.Attributes.Add( "onmouseout" , "this.className = this.className.replace(\"over\", \"\");" );
            }
            base.OnItemDataBound( e );
        }
    }
}
